www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/SearchInputLeb.asp
<html> <head> <META content=ywnt,云网互动影视管理系统 name=keywords> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云网互动影视6.0--搜索标签</title> <LINK href="../css/css.css" type=text/css rel=stylesheet> </head> <BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0"> <script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script> <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table"> <tr> <td colspan="2" class="xingmu">搜索标签</td> </tr> <form action="" method="post" name="SearchForm"> <tr> <td width="28%" class="hback"><div align="right">选择标签方式</div></td> <td width="72%" class="hback"><select name="LableType" id="LableType" onChange="SelectLOginType(this.options[this.selectedIndex].value);"> <option value="0" selected="selected">固定样式</option> <option value="1">自定义样式</option> </select></td> </tr> <tr> <td width="28%" class="hback"><div align="right">显示方式</div></td> <td width="72%" class="hback"><select name="SearchDisStyle" id="SearchDisStyle"> <option value="0">纵向</option> <option value="1">横向</option> </select> </td> </tr> <tr id="Se_Style" style="display:none;"> <td colspan="2" class="xingmu"> <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" class="table"> <tr> <td width="25%" class="hback"><div align="right">搜索标签背景样式</div></td> <td class="hback"><input name="BGStyle" type="text" id="BGStyle" value=""> <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.SearchForm.BGStyle.value=TempReturnValue;" class=Anbutc> <span style="color:#ff0000;">可以为css样式名,也可以为图片</span></td> </tr> <tr> <td class="hback"><div align="right">文本框样式</div></td> <td class="hback"><input name="TextStyle" type="text" id="TextStyle" value=""></td> </tr> <tr> <td class="hback"><div align="right">下拉框样式</div></td> <td class="hback"><input name="SelectStyle" type="text" id="SelectStyle" value=""></td> </tr> <tr> <td class="hback"><div align="right">搜索按钮样式</div></td> <td class="hback"><input name="ButtonStyle" type="text" id="ButtonStyle" value=""> <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.SearchForm.ButtonStyle.value=TempReturnValue;" class=Anbutc> <span style="color:#ff0000;">可以为css样式名,也可以为图片</span></td> </tr> </table> </td> </tr> <tr> <td colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"> </td> </tr> </form> </table> <script language="JavaScript" type="text/JavaScript"> <!-- function SelectLOginType(STRID) { if (STRID == '0') { document.getElementById('Se_Style').style.display = 'none'; } else { document.getElementById('Se_Style').style.display = ''; } } function ok(obj) { var retV = '{$SearchInputLeb('; retV+= obj.LableType.value + ','; retV+= obj.SearchDisStyle.value + ','; retV+= formvalue2(obj.BGStyle.value) + ','; retV+= formvalue2(obj.TextStyle.value) + ','; retV+= formvalue2(obj.SelectStyle.value) + ','; retV+= formvalue2(obj.ButtonStyle.value) + ')'; retV+='}'; InsertLabel(retV) } function formvalue2(namevalue2) { if(namevalue2=="") { namevalue2='""'; } else { namevalue2='"'+namevalue2+'"' } return namevalue2; } <%if Request.QueryString("text")=1 then%> function InsertLabel(LabelContent) { window.returnValue=LabelContent; window.close(); } window.onunload=SetReturnValue; function SetReturnValue() { if (typeof(window.returnValue)!='string') window.returnValue=''; } <%else%> function InsertLabel(LabelContent) { var obj=dialogArguments.oUtil.obj; obj.insertHTML(LabelContent) window.close(); } <%end if%> --> </script>